package com.yztstudy.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yztstudy.entity.Order;
import com.yztstudy.vo.AdminOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单的数据访问层接口
 */

@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    List<AdminOrderVo> selectAdminOrder(@Param("offset") int offset, @Param("pageSize") int pageSize); // 管理员分页查询订单
}
